/* 
	* @params className 类名 domData DOM对象
*/
export const getDomHeight = function(className) {
	return new Promise((resolve,reject) => {
		let dom = uni.createSelectorQuery().select(`.${className}`)
		dom.boundingClientRect(function(domData){
			if(domData) {
				resolve(domData)
			}else{
				reject(domData)
			}
		}).exec()
	})
}

